package com.sanyu.pojo.vo;

import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.time.LocalDateTime;

@Data
public class WarningVO implements Serializable {
    //ID
    private int id;
    //设备ID
    private int deviceId;
    //告警名称
    private String name;
    //告警描述
    private String description;
    //对应的报修记录ID
    private String repairRecordId;
    //创建时间
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime createTime;
    //最后修改时间
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime updateTime;
}
